<?php $this->load->view('common/header'); ?>
<?php $this->load->view('common/menu'); ?>

    <div class="banner_box"><img src="<?php echo image_url('banner.jpg'); ?>"></div>
    <div class="page_contact">
        <div class="phone_last">
            <select>
                <?php if ($service) : ?>
                    <?php foreach ($service as $key => $val) : ?>
                        <option value="<?php echo "/service/" . $val['id'] . ".html"; ?>" <?php if($val['id'] == $id){ ?>selected<?php } ?>><?php echo $val['title'] ?? ""; ?></option>
                    <?php endforeach; ?>
                <?php endif; ?>
            </select>
        </div>
        <div class="class_menu">
            <h1>艾克服务</h1>
            <ul>
                <?php if ($service) : ?>
                    <?php foreach ($service as $key => $val) : ?>
                        <li>
                            <a href="<?php echo "/service/" . $val['id'] . ".html"; ?>" <? if (isset($id) && $id == $val['id']) { ?> class="on" <?php } ?>><?php echo $val['title'] ?? ""; ?></a>
                        </li>
                    <?php endforeach; ?>
                <?php endif; ?>
            </ul>
        </div>
        <div class="page_show">
            <div class="web_site">
                您当前的位置：<a href="#">首页</a> &gt; <a href="#"> <?php echo $typeName; ?></a>
                &gt; <?php echo $page['title']; ?>
            </div>
            <div class="show_con">
                <?php echo $page['content']; ?>
            </div>
        </div>
    </div>
<?php $this->load->view('common/footer'); ?>